package com.mapapp.flutter_mapapp.bean;

import java.util.List;

public class TaskDetails {

    /**
     * preLevel : -1
     * details : [{"id":"378a0f13200211ea9a7052540045a4a7","taskId":"0015765004455390000250eb7128aa28","regionId":"0015761308492820005700155d4c6010","regionName":"嘉定区","parentId":"0015761308492810005600155d4c6010","isRoot":1,"bh":"1001.1000","longitude":"121.7366","latitude":"31.0525","level":2,"processNow":"","processNowName":"","createTime":"2019-12-16 20:47:28","editTime":"2019-12-23 15:40:04","levelNumber":33,"processes":[{"id":"111111","processName":"步骤1","processOrder":1,"createUserId":0,"createTime":"2019-12-23 15:40:04","editTime":"2019-12-23 15:40:04","processCount":33,"processPercent":1}],"children":[]}]
     * nextLevel  : 3
     */

    private int preLevel;
    private int nextLevel;
    private List<DetailsBean> details;

    @Override
    public String toString() {
        return "TaskDetails{" +
                "preLevel=" + preLevel +
                ", nextLevel=" + nextLevel +
                ", details=" + details +
                '}';
    }

    public int getPreLevel() {
        return preLevel;
    }

    public void setPreLevel(int preLevel) {
        this.preLevel = preLevel;
    }

    public int getNextLevel() {
        return nextLevel;
    }

    public void setNextLevel(int nextLevel) {
        this.nextLevel = nextLevel;
    }

    public List<DetailsBean> getDetails() {
        return details;
    }

    public void setDetails(List<DetailsBean> details) {
        this.details = details;
    }

    public static class DetailsBean {
        /**
         * id : 378a0f13200211ea9a7052540045a4a7
         * taskId : 0015765004455390000250eb7128aa28
         * regionId : 0015761308492820005700155d4c6010
         * regionName : 嘉定区
         * parentId : 0015761308492810005600155d4c6010
         * isRoot : 1
         * bh : 1001.1000
         * longitude : 121.7366
         * latitude : 31.0525
         * level : 2
         * processNow :
         * processNowName :
         * createTime : 2019-12-16 20:47:28
         * editTime : 2019-12-23 15:40:04
         * levelNumber : 33
         * processes : [{"id":"111111","processName":"步骤1","processOrder":1,"createUserId":0,"createTime":"2019-12-23 15:40:04","editTime":"2019-12-23 15:40:04","processCount":33,"processPercent":1}]
         * children : []
         */

        private String id;
        private String taskId;
        private String regionId;
        private String regionName;
        private String parentId;
        private int isRoot;
        private String bh;
        private String longitude;
        private String latitude;
        private int level;
        private String processNow;
        private String processNowName;
        private String createTime;
        private String editTime;
        private int levelNumber;
        private List<ProcessBean> processes;

        @Override
        public String toString() {
            return "DetailsBean{" +
                    "id='" + id + '\'' +
                    ", taskId='" + taskId + '\'' +
                    ", regionId='" + regionId + '\'' +
                    ", regionName='" + regionName + '\'' +
                    ", parentId='" + parentId + '\'' +
                    ", isRoot=" + isRoot +
                    ", bh='" + bh + '\'' +
                    ", longitude='" + longitude + '\'' +
                    ", latitude='" + latitude + '\'' +
                    ", level=" + level +
                    ", processNow='" + processNow + '\'' +
                    ", processNowName='" + processNowName + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", editTime='" + editTime + '\'' +
                    ", levelNumber=" + levelNumber +
                    ", processes=" + processes +
                    '}';
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTaskId() {
            return taskId;
        }

        public void setTaskId(String taskId) {
            this.taskId = taskId;
        }

        public String getRegionId() {
            return regionId;
        }

        public void setRegionId(String regionId) {
            this.regionId = regionId;
        }

        public String getRegionName() {
            return regionName;
        }

        public void setRegionName(String regionName) {
            this.regionName = regionName;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public int getIsRoot() {
            return isRoot;
        }

        public void setIsRoot(int isRoot) {
            this.isRoot = isRoot;
        }

        public String getBh() {
            return bh;
        }

        public void setBh(String bh) {
            this.bh = bh;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public String getProcessNow() {
            return processNow;
        }

        public void setProcessNow(String processNow) {
            this.processNow = processNow;
        }

        public String getProcessNowName() {
            return processNowName;
        }

        public void setProcessNowName(String processNowName) {
            this.processNowName = processNowName;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getEditTime() {
            return editTime;
        }

        public void setEditTime(String editTime) {
            this.editTime = editTime;
        }

        public int getLevelNumber() {
            return levelNumber;
        }

        public void setLevelNumber(int levelNumber) {
            this.levelNumber = levelNumber;
        }

        public List<ProcessBean> getProcesses() {
            return processes;
        }

        public void setProcesses(List<ProcessBean> processes) {
            this.processes = processes;
        }


    }
}
